<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('党支部')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="form-inline" data-toggle="cxselect" data-selects="province,city,area">
                <select class="province form-control" data-rule="required" name="row[province]"
                    data-url="ajax/partybranch"></select>
                <select class="city form-control" data-rule="required" name="row[city]"
                    data-url="ajax/partybranch"></select>
                <select class="area form-control" data-rule="required" name="row[area]"
                    data-url="ajax/partybranch"></select>
            </div>
        </div>
    </div>


    <div class="form-group">
        <label for="c-import_file_url" class="control-label col-xs-12 col-sm-2">{:__('导入文件（Excel）')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-import_file_url" data-rule="" class="form-control" size="50" name="row[import_file_url]"
                    value="" type="hidden">
                <input id="c-import_file_name" data-rule="" class="form-control" size="50" name="row[import_file_name]"
                    type="text" value="">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-import_file_url" class="btn btn-danger faupload"
                            data-input-id="c-import_file_url"
                            data-mimetype="application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
                            data-multiple="false" data-preview-id="p-import_file_url"><i class="fa fa-upload"></i>
                            {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-import_file_url" class="btn btn-info fachoose"
                            data-input-id="c-import_file_url"
                            data-mimetype="application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
                            data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-import_file_url"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-import_file_url"></ul>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-info btn-embossed disabled">{:__('确定导入')}</button>
        </div>
    </div>
</form>